<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="suxu">
    <title>WDW-[<%= current_project.name if user_signed_in? && !current_project.nil? %>]</title>
    
   	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <%= javascript_include_tag 'html5shiv', 'data-turbolinks-track' => true %>
      <%= javascript_include_tag 'respond.min', 'data-turbolinks-track' => true %>
    <![endif]-->
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <script type="text/javascript">
</script>
</head>
<body>
<%= render "layouts/top"%>


<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
  <% if current_member %>
    <%= render "layouts/left"%>      
  <%end%>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h3 class="page-header"><%= yield(:title) %></h3>
  
  <% if flash[:warning] %>
    <div class="alert alert-danger alert-dismissable">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <strong>警告:</strong> <%= flash[:warning]%>
    </div>
  <%end%>

  <% if notice %>
    <div class="alert alert-info alert-dismissable">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <strong>通知:</strong> <%= notice%>
    </div>
  <%end%>
  <%= yield %>
</div>
</div>
</div>

<!-- <div id="footer">
      <div class="container">
        <p class="text-muted">Place sticky footer content here.</p>
      </div>
    </div>
 -->

</body>

</html>
